package model.AttentionHouse;


import model.AttentionHouse.mapper.AttentionHouseMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;

/**
 * Created by Sunshine、宸 on 2019/6/24.
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class testAttentionHouseMapper {
    @Autowired
    private AttentionHouseMapper attentionHouseMapper;


    @Test
    public void findAll(){
        System.out.println(attentionHouseMapper.findAll());
    }

    @Test
    public void delByHouseId(){
        attentionHouseMapper.delById(1);
    }
}
